package net.srcz.jsjvm.optim.ref;

public class SimpleRef {

	public static final Object unknown = new Object();

	boolean isKnown = false;
	
	public SimpleRef(Object value) {
		isKnown = value != unknown;
	}
	
	public SimpleRef() {
		
	}
	
	public SimpleRef(boolean known) {
		this.isKnown = known;
	}
	
	public boolean isKnown() {
		return isKnown;
	}
}
